<!--
 * @Author: wangyingjie
 * @Date: 2021-08-13 19:36:56
 * @Email: dly@hyrctec.com
 * @LastEditors: dailuyu
 * @LastEditTime: 2021-08-27 11:25:09
 * @Company: hyrc
 * @FilePath: \TaskErrorManage\src\components\dashboard\HomePage.vue
 * @Description: 
-->
<template>
  <div class="app-container">
    <el-tabs v-model="activeName">
      <el-tab-pane label="主页" name="first" :key="first">
        <child1></child1>
      </el-tab-pane>
      <el-tab-pane label="项目" name="second" :key="second">
        <child2></child2>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import xiangmu from "./XiangMu"
import zhuYe from "./DetailsProblem"

export default {
  name: "app-container",
  components: {
    child1: zhuYe,
    child2: xiangmu,
  },
  data() {
    return {
      activeName: "second",
    }
  },
  methods: {},
}
</script>

<style lang="scss" scoped>
.app-container {
  width: 1600px;
}
</style>
